﻿using System.Collections.Generic;
using PgBirdie.Core.Model.Database.AccessControl;

namespace PgBirdie.Core.Model.Database.Structure
{
    public class PgDatabase : PgDbObject, IPgOwner, IPgPrivileges
    {
        public IDictionary<string, PgSchema> Schemas { get; set; }
        
        public PgOwner Owner { get; set; }
        public IDictionary<string, PgPrivilege> Privileges { get; set; }

        public PgDatabase()
        {            
            Schemas = new Dictionary<string, PgSchema>();
            Privileges = new Dictionary<string, PgPrivilege>();
        }        
    }
}